|
|
James Patterson wrote:
>
> > The HF_Sphere() macro in shapes.inc has been designed for this purpose.
> > See the documentation about standard include files and shapes.inc.
>
> I found that, but am not sure how to use it with my grayscale topographic
> map of the earths surface. The documentation says that the macro does not
> use a height field image directly for input and does not tell me how to use
> one indirectly. I can create a planar height field using pov's height field
> object and my topographic map just fine. What am I missing?
That macros take a function for defining the elevation. Something like:
#declare fn_Earth=function {
pigment {
image_map {
png "elevation.png"
interpolate 2
}
}
}
should work.
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 31 Dec. 2002 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|